<template>
  <div id="app">
    <router-view></router-view>

  </div>
</template>
<script>
import Vue from "vue";
import { Tabbar, TabbarItem } from 'vant';
Vue.use(Tabbar);
Vue.use(TabbarItem);
export default {
  data(){
    return{
      active: 0
    }
  },
  methods:{
    router(path){
      this.$router.push(path)
    }
  }
}
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  background: #f8f8f8;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
html,
body,
#app {
  height: 100%;
}
</style>
